import request from '@/utils/request'

export function Post(args) {
  return request({
    url: '/eco/api/search/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function SearchImport(args) {
  return request({
    url: '/eco/api/search_import/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function SearchGetbatch(args) {
  return request({
    url: '/eco/api/search_getbatch/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function GetKewords(args) {
  return request({
    url: '/eco/api/search_getkeywords/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function ReadedTaggle(args) {
  return request({
    url: '/eco/api/search_readedtaggle/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}

export function StarTaggle(args) {
  return request({
    url: '/eco/api/search_startaggle/',
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: args
  })
}
